package 继承.代码的执行顺序;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 姚东名
 * Date: 2024-06-18
 * Time: 11:56
 */
class A {
    public int a = 10;
    public A() {
        System.out.print("A");
    }
}
public class Test extends A {
    public int t = 20;

    public Test() {
        super();
    }

    public static void main(String[] args) {
        new Test();
    }
}
